package com.campus.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "教师信息")
public class TManagerTeacherCreateDto {

  @ApiModelProperty("教师名称")
  @NotBlank(message = "教师名称不能为空")
  private String teacherName;

  @ApiModelProperty("教师科目")
  @NotBlank(message = "教师科目不能为空")
  private String subject;

  @ApiModelProperty("教师专业")
  @NotBlank(message = "教师专业不能为空")
  private String profession;

  @ApiModelProperty("教师学校")
  @NotBlank(message = "教师学校不能为空")
  private String school;

  @ApiModelProperty("教师介绍")
  @NotBlank(message = "教师介绍不能为空")
  private String introduce;

  @ApiModelProperty("登录id")
  @NotBlank(message = "登录id不能为空")
  private Long loginId;


}
